package com.honghe.system.mapper;

import java.util.List;
import com.honghe.system.domain.RiskEntrustBusiness;

/**
 * 风险委托Mapper接口
 * 
 * @author xjw
 * @date 2025-04-22
 */
public interface RiskEntrustBusinessMapper 
{
    /**
     * 查询风险委托
     * 
     * @param id 风险委托主键
     * @return 风险委托
     */
    public RiskEntrustBusiness selectRiskEntrustBusinessById(Long id);

    /**
     * 查询风险委托列表
     * 
     * @param riskEntrustBusiness 风险委托
     * @return 风险委托集合
     */
    public List<RiskEntrustBusiness> selectRiskEntrustBusinessList(RiskEntrustBusiness riskEntrustBusiness);

    /**
     * 新增风险委托
     * 
     * @param riskEntrustBusiness 风险委托
     * @return 结果
     */
    public int insertRiskEntrustBusiness(RiskEntrustBusiness riskEntrustBusiness);

    /**
     * 修改风险委托
     * 
     * @param riskEntrustBusiness 风险委托
     * @return 结果
     */
    public int updateRiskEntrustBusiness(RiskEntrustBusiness riskEntrustBusiness);

    /**
     * 删除风险委托
     * 
     * @param id 风险委托主键
     * @return 结果
     */
    public int deleteRiskEntrustBusinessById(Long id);

    /**
     * 批量删除风险委托
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteRiskEntrustBusinessByIds(Long[] ids);
}
